﻿using System;
namespace XYW.Model
{
	/// <summary>
	/// Blogs:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Blogs
	{
		public Blogs()
		{}
		#region Model
		private int _id;
		private string _title;
		private string _contents;
		private DateTime? _pubdate;
		private int? _userid;
		private string _username;
		private int? _classify;
		private int? _purview;
		private int? _type;
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string title
		{
			set{ _title=value;}
			get{return _title;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string contents
		{
			set{ _contents=value;}
			get{return _contents;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? pubDate
		{
			set{ _pubdate=value;}
			get{return _pubdate;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? userId
		{
			set{ _userid=value;}
			get{return _userid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string userName
		{
			set{ _username=value;}
			get{return _username;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? classify
		{
			set{ _classify=value;}
			get{return _classify;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? purview
		{
			set{ _purview=value;}
			get{return _purview;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? type
		{
			set{ _type=value;}
			get{return _type;}
		}
		#endregion Model

	}
}

